package de.koller.pulsar.scene.particle;

import de.koller.aframe.util.resource.IOLoader;
import de.koller.oceanFramework.gl.util.RasterManager;
import de.koller.pulsar.PNode;
import de.koller.pulsar.scene.IScene;
import java.util.Random;

public class ParticleScene extends PNode implements IScene {
	public final Random RND = new Random();
	public final int WIDTH = 1200, HEIGHT = 700;

	private RasterManager raster = new RasterManager( WIDTH, HEIGHT );		
	
	@Override
	protected void update( int elapsedTime ) {
		super.update( elapsedTime );
	
		raster.clear( 0xff000000 );
		
		
		proot.setSceneFrame( IOLoader.create( raster ) );
	}
	
}
